package cn.chengpengper.fragmentUpload.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/*@formatter:off*/

/**
 * ____________________
 * < 神兽护体，永无bug! >
 * --------------------
 *
 * @author catwing
 * @version v1.0.0
 * @date 2024/12/4 22:27
 * @description 分片记录
 */

/*@formatter:on*/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_shard_upload_part")
public class ShardUploadPartDO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("shard_upload_id")
    private Long shardUploadId;

    @TableField("part_order")
    private Integer partOrder;

    @TableField("file_full_path")
    private String fileFullPath;
}
